import javax.swing.*;
import net.miginfocom.swing.MigLayout;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.border.EtchedBorder;


public class TrailMenuPanel extends JPanel {

	/**This panel holds the TrailStatPanel and TrailButtonPanel in the Trail Frame.
	 * 
	 * @author Amy Lambeth
	 * @version 1.0 10/24/2011
	 * 
	 */
	private static final long serialVersionUID = -3585233224225833737L;

	/**
	 * Create the panel.
	 */
	public TrailMenuPanel() {
		setBorder(new EtchedBorder(EtchedBorder.LOWERED, null, null));
		setLayout(new MigLayout("", "[517.00,grow][100.00,grow]", "[][80.00,grow]"));
		
		JLabel dateLabel = new JLabel("(Date & Location here)");
		add(dateLabel, "cell 0 0");
		
		JButton goButton = new JButton("Keep Going");
		add(goButton, "flowx,cell 1 0");
		
		TrailStatPanel trailStatPanel = new TrailStatPanel();
		add(trailStatPanel, "cell 0 1,grow");
		
		TrailButtonPanel trailButtonPanel = new TrailButtonPanel();
		add(trailButtonPanel, "cell 1 1,grow");
		
		JButton restButton = new JButton("Rest");
		add(restButton, "cell 1 0,growx");

	}

}
